package com.hwadee.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;


@Data
@TableName("mistake")
public class Mistake {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long studentId;
    private Long examId;
    @TableField(value = "question_id")
    private Long questionId;
    private String userAnswer;
    private String correctAnswer;
    private String content;
    private String options;
    private String blanks;
    private String answer;
    private String explanation;
    private String type;
    private String category;
    private Integer difficulty;
    private Integer score;
    private Boolean isCollected;
    private LocalDateTime createTime;
}